package com.ruoyi.bnt.mapper;

import java.util.List;
import com.ruoyi.bnt.domain.BntSundayworship;

/**
 * 主日敬拜Mapper接口
 * 
 * @author yyj
 * @date 2020-09-21
 */
public interface BntSundayworshipMapper 
{
    /**
     * 查询主日敬拜
     * 
     * @param id 主日敬拜ID
     * @return 主日敬拜
     */
    public BntSundayworship selectBntSundayworshipById(String id);

    /**
     * 查询主日敬拜列表
     * 
     * @param bntSundayworship 主日敬拜
     * @return 主日敬拜集合
     */
    public List<BntSundayworship> selectBntSundayworshipList(BntSundayworship bntSundayworship);

    /**
     * 新增主日敬拜
     * 
     * @param bntSundayworship 主日敬拜
     * @return 结果
     */
    public int insertBntSundayworship(BntSundayworship bntSundayworship);

    /**
     * 修改主日敬拜
     * 
     * @param bntSundayworship 主日敬拜
     * @return 结果
     */
    public int updateBntSundayworship(BntSundayworship bntSundayworship);

    /**
     * 删除主日敬拜
     * 
     * @param id 主日敬拜ID
     * @return 结果
     */
    public int deleteBntSundayworshipById(String id);

    /**
     * 批量删除主日敬拜
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteBntSundayworshipByIds(String[] ids);

    public int addVisitNum(String id);
}
